import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from '../user/user.entity';
import { UserService } from '../user/user.service';
import { InternetCelebrityController } from './internetCelebrity.controller';
import { InternetCelebrityControllerBackground } from './internetCelebrity.controller.background';
import { InternetCelebrity } from './internetCelebrity.entity';
import { InternetCelebrityService } from './internetCelebrity.service';

@Module({
  imports: [TypeOrmModule.forFeature([InternetCelebrity, User])],
  controllers: [InternetCelebrityController, InternetCelebrityControllerBackground],
  providers: [InternetCelebrityService, UserService],
})
export class InternetCelebrityModule {}
